home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / Buildable, limited OOFILE / OOFILE headers / oofquery.inl < prev    next >
Encoding:
Text File  |  1995-09-25  |  1.5 KB  |  62 lines  |  [TEXT/CWIE]

  1. // COPYRIGHT 1994 A.D. Software, All rights reserved
  2.  
  3. // IMPLEMENTATION of queries
  4.  
  5. // -------------------------------------------------------
  6. //                 d b Q u e r y B i n a r y 
  7. // -------------------------------------------------------
  8. inline dbQueryClause::BinaryQueryOps dbQueryBinary::binaryOperator() const
  9. {
  10.         return mBinOp;
  11. }
  12.  
  13.  
  14. inline const dbField* dbQueryBinary::lhsField() const
  15. {
  16.         return mLhs->field();
  17. }
  18.  
  19.  
  20. // -------------------------------------------------------
  21. //           d b Q u e r y B i n a r y C o m b o
  22. // -------------------------------------------------------
  23. inline dbQueryClause::QueryCombinatorialOps dbQueryBinaryCombo::binaryOperator() const
  24. {
  25.         return mComboOp;
  26. }
  27.  
  28.  
  29. // -------------------------------------------------------
  30. //                 d b Q u e r y T r i n a r y 
  31. // -------------------------------------------------------
  32. inline dbQueryClause::TrinaryQueryOps dbQueryTrinary::trinaryOperator() const
  33. {
  34.         return mTrinOp;
  35. }
  36.  
  37.  
  38. inline const dbField* dbQueryTrinary::lhsField() const
  39. {
  40.         return mLhs->field();
  41. }
  42.  
  43.  
  44. // -------------------------------------------------------
  45. //                 d b Q u e r y F i e l d
  46. // -------------------------------------------------------
  47. //inline const dbField*  dbQueryField::field()  const
  48. //{
  49. //    return mfield;
  50. //}
  51.  
  52.  
  53. // -------------------------------------------------------
  54. //            d b Q u e r y L i t e r a l S t r
  55. // -------------------------------------------------------
  56. inline const char* dbQueryLiteralStr::Str()  const
  57. {
  58.     return mStr;
  59. }
  60.  
  61.  
  62.